package com.zgl.modules.card.DTO;

import com.baomidou.mybatisplus.annotation.TableId;
import com.zgl.modules.token.entity.TokenEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CardDTO extends TokenEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "银行卡名",required = true)
    private String cardName;
    @ApiModelProperty(value = "银行卡号",required = true)
    private String cardNumber;
    @ApiModelProperty(value = "余额",required = false)
    private String cardBalance;
    @ApiModelProperty(value = "绑定用户名",required = false)
    private String userid;
    @ApiModelProperty(value = "token值",required = false)
    private String token;

}
